// samsting : this file is auto create.

#include "Ecs/2014-05-26/DescribeTagsResponse.h"

namespace aliyun { namespace Ecs {

DescribeTagsResponse::DescribeTagsResponse() {
}

const string& DescribeTagsResponse::Tag::GetTagKey(void) const {
  return TagKey_;
}

const string& DescribeTagsResponse::Tag::GetTagValue(void) const {
  return TagValue_;
}

const std::vector<DescribeTagsResponse::Tag>& DescribeTagsResponse::GetTags(void) const {
  return Tags_;
}

int DescribeTagsResponse::GetPageSize(void) const {
  return PageSize_;
}

int DescribeTagsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeTagsResponse::GetTotalCount(void) const {
  return TotalCount_;
}

const char* DescribeTagsResponse::BaseKey(void) {
  return "DescribeTagsResponse";
}

void DescribeTagsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Tags__length = 0;
  UnmarshallerInt(Tags__length, response_map, "DescribeTagsResponse.Tags.Length");
  if(Tags__length >= 0) {
    Tags_.resize(Tags__length);
    for(int i1 = 0; i1 < Tags__length; i1++) {
      UnmarshallerString(Tags_[i1].TagKey_, response_map, "DescribeTagsResponse.Tags["+string_ValueOfInt(i1)+"].TagKey");
      UnmarshallerString(Tags_[i1].TagValue_, response_map, "DescribeTagsResponse.Tags["+string_ValueOfInt(i1)+"].TagValue");
    } // for(int i1 = 0; i1 < Tags__length; i1++) {
  } // if(Tags__length >= 0) {

  UnmarshallerInt(PageSize_, response_map, "DescribeTagsResponse.PageSize");
  UnmarshallerInt(PageNumber_, response_map, "DescribeTagsResponse.PageNumber");
  UnmarshallerInt(TotalCount_, response_map, "DescribeTagsResponse.TotalCount");
}


} } // namespace aliyun { namespace Ecs {

// end of file 
